package com.moweilin.mo_gateway.services;

import com.moweilin.mo_gateway.handlers.Module;

/**
 * Created by moweilin on 2017/2/21.
 */
public interface IModuleService {
    /**

     * @param moduleName
     * @return
     *
     * If virtualHost is empty,default return null,you can change it by add a module with empty virtualHost and a moduleName;
     * If virtual
     *
     */
    Module get(String moduleName);
    Module add(Module module);
    Module update(Module module);
    Module delete(String moduleName);

}
